package com.ysz.lock;

import java.util.concurrent.Executor;

/**
 * @ClassName RevocationSpec
 * @Description TODO
 * @Data 14:09
 * @Version 1.0
 * @Author ysz
 */
public class RevocationSpec {

    private final Executor executor;
    private final Runnable runnable;

    public RevocationSpec(Executor executor, Runnable runnable) {
        this.executor = executor;
        this.runnable = runnable;
    }

    public Executor getExecutor() {
        return executor;
    }

    public Runnable getRunnable() {
        return runnable;
    }
}
